package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("app_user")
public class User implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;

    private String phone;

    private String nickName;

    private String avatar;

    private Date createTime;

    private Date lastOnlineTime;

    private Integer status;

    private Integer points;

    private static final long serialVersionUID = 1L;

}